package com.csu.cphone.pojo;

import java.util.Date;
import java.util.List;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

/**
 * @项目名称：cphone
 * @类名称：OrderPojo
 * @类描述：
 * @创建人：Tangc
 * @创建时间：2017年9月11日 下午2:48:05
 * @company:
 */
@ApiModel(description = "回收订单POJO")
public class RecycleOrderPojo
{
    @ApiModelProperty(value = "主键Id")
    private Integer id;

    @ApiModelProperty(value = "流水号")
    private String serialNumber;

    @ApiModelProperty(value = "订单金额")
    private Double amount;

    @ApiModelProperty(value = "订单状态（0 下单；1：分配待接受，2：已接单，3：服务完成 ，4：确认，5：取消）")
    private Integer status;

    @ApiModelProperty(value = "下单时间")
    private Date applyTime;

    @ApiModelProperty(value = "接单时间")
    private Date acceptTime;

    @ApiModelProperty(value = "服务完成时间")
    private Date finishTime;

    @ApiModelProperty(value = "确认时间")
    private Date confirmTime;

    @ApiModelProperty(value = "取消时间")
    private Date cancelTime;

    @ApiModelProperty(value = "用户id")
    private Integer customerId;

    @ApiModelProperty(value = "服务方id")
    private Integer producerId;

    @ApiModelProperty(value = "服务方式（1：上门；2：门店；3：邮寄）")
    private Integer serviceType;

    @ApiModelProperty(value = "用户详细地址")
    private String address;

    @ApiModelProperty(value = "上门时间段")
    private String period;

    @ApiModelProperty(value = "门店id")
    private Integer storeId;

    @ApiModelProperty(value = "快递公司名称")
    private String expressCompany;

    @ApiModelProperty(value = "快递单号")
    private String expressNumber;

    @ApiModelProperty(value = "iphone解锁密码及icloud账号密码信息")
    private String iphonePasswd;

    @ApiModelProperty(value = "订单备注")
    private String remark;

    @ApiModelProperty(value = "回收手机id")
    private Integer recyclePhoneId;

    @ApiModelProperty(value = "订单已经选择的问题选项，更新订单要传")
    private List<RecycleProblemSelectPojo> problemSelects;

    @ApiModelProperty(value = "订单手机的所有问题和选项集合，不需要上传")
    private List<RecycleProblemPojo> problems;

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getSerialNumber()
    {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber)
    {
        this.serialNumber = serialNumber == null ? null : serialNumber.trim();
    }

    public Double getAmount()
    {
        return amount;
    }

    public void setAmount(Double amount)
    {
        this.amount = amount;
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public String getRemark()
    {
        return remark;
    }

    public void setRemark(String remark)
    {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * @return the customerId
     */
    public Integer getCustomerId()
    {
        return customerId;
    }

    /**
     * @param customerId
     *            the customerId to set
     */
    public void setCustomerId(Integer customerId)
    {
        this.customerId = customerId;
    }

    /**
     * @return the applyTime
     */
    public Date getApplyTime()
    {
        return applyTime;
    }

    /**
     * @param applyTime
     *            the applyTime to set
     */
    public void setApplyTime(Date applyTime)
    {
        this.applyTime = applyTime;
    }

    /**
     * @return the acceptTime
     */
    public Date getAcceptTime()
    {
        return acceptTime;
    }

    /**
     * @param acceptTime
     *            the acceptTime to set
     */
    public void setAcceptTime(Date acceptTime)
    {
        this.acceptTime = acceptTime;
    }

    /**
     * @return the finishTime
     */
    public Date getFinishTime()
    {
        return finishTime;
    }

    /**
     * @param finishTime
     *            the finishTime to set
     */
    public void setFinishTime(Date finishTime)
    {
        this.finishTime = finishTime;
    }

    /**
     * @return the confirmTime
     */
    public Date getConfirmTime()
    {
        return confirmTime;
    }

    /**
     * @param confirmTime
     *            the confirmTime to set
     */
    public void setConfirmTime(Date confirmTime)
    {
        this.confirmTime = confirmTime;
    }

    /**
     * @return the cancelTime
     */
    public Date getCancelTime()
    {
        return cancelTime;
    }

    /**
     * @param cancelTime
     *            the cancelTime to set
     */
    public void setCancelTime(Date cancelTime)
    {
        this.cancelTime = cancelTime;
    }

    /**
     * @return the producerId
     */
    public Integer getProducerId()
    {
        return producerId;
    }

    /**
     * @param producerId
     *            the producerId to set
     */
    public void setProducerId(Integer producerId)
    {
        this.producerId = producerId;
    }

    /**
     * @return the serviceType
     */
    public Integer getServiceType()
    {
        return serviceType;
    }

    /**
     * @param serviceType
     *            the serviceType to set
     */
    public void setServiceType(Integer serviceType)
    {
        this.serviceType = serviceType;
    }

    /**
     * @return the address
     */
    public String getAddress()
    {
        return address;
    }

    /**
     * @param address
     *            the address to set
     */
    public void setAddress(String address)
    {
        this.address = address;
    }

    /**
     * @return the period
     */
    public String getPeriod()
    {
        return period;
    }

    /**
     * @param period
     *            the period to set
     */
    public void setPeriod(String period)
    {
        this.period = period;
    }

    /**
     * @return the storeId
     */
    public Integer getStoreId()
    {
        return storeId;
    }

    /**
     * @param storeId
     *            the storeId to set
     */
    public void setStoreId(Integer storeId)
    {
        this.storeId = storeId;
    }

    /**
     * @return the expressCompany
     */
    public String getExpressCompany()
    {
        return expressCompany;
    }

    /**
     * @param expressCompany
     *            the expressCompany to set
     */
    public void setExpressCompany(String expressCompany)
    {
        this.expressCompany = expressCompany;
    }

    /**
     * @return the expressNumber
     */
    public String getExpressNumber()
    {
        return expressNumber;
    }

    /**
     * @param expressNumber
     *            the expressNumber to set
     */
    public void setExpressNumber(String expressNumber)
    {
        this.expressNumber = expressNumber;
    }

    /**
     * @return the iphonePasswd
     */
    public String getIphonePasswd()
    {
        return iphonePasswd;
    }

    /**
     * @param iphonePasswd
     *            the iphonePasswd to set
     */
    public void setIphonePasswd(String iphonePasswd)
    {
        this.iphonePasswd = iphonePasswd;
    }

    /**
     * @return the recyclePhoneId
     */
    public Integer getRecyclePhoneId()
    {
        return recyclePhoneId;
    }

    /**
     * @param recyclePhoneId
     *            the recyclePhoneId to set
     */
    public void setRecyclePhoneId(Integer recyclePhoneId)
    {
        this.recyclePhoneId = recyclePhoneId;
    }

    /**
     * @return the problemSelects
     */
    public List<RecycleProblemSelectPojo> getProblemSelects()
    {
        return problemSelects;
    }

    /**
     * @param problemSelects
     *            the problemSelects to set
     */
    public void setProblemSelects(List<RecycleProblemSelectPojo> problemSelects)
    {
        this.problemSelects = problemSelects;
    }

    /**
     * @return the problems
     */
    public List<RecycleProblemPojo> getProblems()
    {
        return problems;
    }

    /**
     * @param problems
     *            the problems to set
     */
    public void setProblems(List<RecycleProblemPojo> problems)
    {
        this.problems = problems;
    }

}
